COM AT+CSSN: supplementary service notification
COM
COM Version History:
COM Version 1.0   21.11.2003   R. Weiden	started for C62
COM Version 1.1   09.12.2003   R. Weiden   	adapted to R65 platform
COM Version 1.2   11.01.2005   T. Kleinmann     added URC tests
COM --------------------------------------------------------------------------------------------------------------------
COM ToDo (S3): Test all URC's for CSSI and CSSU that are not covered here...need to find SIM where these barrings are allowed 

from attglobals import *

COM AT+CSSN: supplementary service notification
AT+CSSN=?
WAIT FOR +CSSN:

COM query status
AT+CSSN?
WAIT FOR +CSSN:

COM set CSSI
AT+CSSN=1
WAIT FOR OK
AT+CSSN?
WAIT FOR +CSSN: 1

COM Call Second mobile
ATCMD(1,'ATD',SecondaryMobilePhoneNumber,';')
WAIT FOR +CSSI:

AT+CHUP
WAIT FOR OK

COM set CSSU
AT+CSSN=,1
WAIT FOR OK
AT+CSSN?
WAIT FOR +CSSN: 1,1

COM Activate CSSI and CSSU on second mobile
ATCMD(2,'AT+CSSN=1,1')
WAITFOR (2,'OK')


COM Call Second mobile
ATCMD(1,'ATD',SecondaryMobilePhoneNumber,';')
WAITFOR (2,'RING')


COM Accept call on 2nd mobile
ATCMD(2,'ATA')
WAITFOR (2,'OK')

MESSAGE('Please call stationary phone from phone one (',PrimaryMobilePhoneNumber,')!')
WAITFOR (2,'CSSU: 2')

MESSAGE('Please accept call on',PhoneNumber3,'! Press OK when ready!')

MESSAGE('Please hang up active call!')
WAITFOR (1,'+CSSU: 5')










